from adafruit_bme280 import basic as adafruit_bme280
import board
 
i2c = board.I2C()
 
sensor = adafruit_bme280.Adafruit_BME280_I2C(i2c)

temperature = sensor.temperature

print(f'Temperature: {temperature} C')
